//
// create by ZLY 2025/5/7
//
#ifndef OBJECT_SCREEN_H
#define OBJECT_SCREEN_H

#include "object.h"

class ObjectScreen : public Object {
protected:
    glm::vec2 render_pos_ = glm::vec2(0, 0); // 渲染位置

public:
    glm::vec2 getRenderPos() const { return render_pos_; } // 获取渲染位置
    virtual void setRenderPos(const glm::vec2 &render_pos) { render_pos_ = render_pos; } // 设置渲染位置
    virtual glm::vec2 getPosition() const { return glm::vec2(0); }
    void init() override { type_ = ObjectType::OBJECT_SCREEN; } // 初始化函数
};

#endif // OBJECT_SCREEN_H
